home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-01-19 | 1.4 KB | 25 lines | [TEXT/ToyS] |
- property dlog : {size:[360, 270], name:"Poly Buttons", style:movable dialog, contents:[¬
- {class:push button, bounds:[290, 240, 350, 260], name:"OK"}, ¬
- {class:static text, bounds:[10, 260 - 18, 200, 260]}, ¬
- {class:pict, bounds:[15, 25, 15 + 327, 25 + 197], contents:256}, ¬
- {class:group box, bounds:[10, 6, 175, 156], name:"Click Here…"}, ¬
- {class:poly push button, bounds:[20, 30, 165, 145]}, ¬
- {class:group box, bounds:[185, 6, 350, 156], name:"…Here…"}, ¬
- {class:poly toggle button, bounds:[195, 30, 340, 145], contents:[0, 0, 145, 60, 60, 115, 0, 0]}, ¬
- {class:group box, bounds:[10, 160, 350, 230], name:"…Or Anywhere Here"}, ¬
- {class:poly radio button, bounds:[20, 180, 60, 220], contents:[0, 0, 40, 0, 20, 40, 0, 0], value:true}, ¬
- {class:poly radio button, bounds:[80, 180, 120, 220]}, ¬
- {class:poly radio button, bounds:[140, 180, 180, 220], contents:[0, 0, 30, 0, 40, 20, 20, 40, 0, 30, 0, 0]}, ¬
- {class:poly radio button, bounds:[200, 180, 240, 220], contents:[10, 0, 30, 0, 40, 20, 30, 40, 10, 40, 0, 20, 10, 0]}, ¬
- {class:poly radio button, bounds:[260, 180, 300, 220], contents:[10, 0, 29, 0, 40, 11, 40, 29, 29, 40, 10, 40, 0, 30, 0, 10, 10, 0]} ¬
- ]}
-
- --return dd auto dialog dlog with greyscale
- dd install with grayscale
- set d to dd make dialog dlog
- repeat
- set i to dd interact with user
- if i = 1 then exit repeat
- dd set contents of item 2 of d to "Clicked item: " & i
- end repeat
- dd uninstall